package com.example.domain.api.controller.v1;


import com.example.common.response.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("测试接口")
@RestController
@RequestMapping("/test")
public class RequestTest {

    @ApiOperation("查询全部人员")
    @GetMapping("/get-all-user")
    public Response selectUserList(){
        return Response.SUCCESE;
    }

    @ApiOperation("查询一个人员")
    @GetMapping("/get-user")
    public Response selectUser(){
        return Response.ERROR;
    }
}
